import { defineStore } from "pinia";
import { ref } from "vue"
export const useTaskStore=defineStore('task',()=>{
	const recordData=ref({
		id:'',
		startTime:"",
		endTime:"",
		isBreakRules:false,
		breakRulesType:null,
		penaltyAmount:null,
		deductPoints:null,
		isFault:false,
		faultType:null,
		faultDescription:"",
		faultImagesList:[],
		isAccident:false,
		accidentType:null,
		accidentDescription:"",
		accidentImagesList:[],
	})
	return {recordData}
})